package com.heng.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heng.dao.entity.product.CategoryEntity;

import java.util.List;

public interface CategoryService extends IService<CategoryEntity> {
    List<CategoryEntity> getTopCategory();
    List<CategoryEntity> getByParentId(Integer parentId);
}